/**
 * output package name
 */
package com.kingdee.eas.custom.wg.sellplan;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class billstatus extends StringEnum
{
    public static final String ADDNEW_VALUE = "1";
    public static final String SAVE_VALUE = "2";
    public static final String SUBMIT_VALUE = "3";
    public static final String AUDIT_VALUE = "4";
    public static final String CLOSED_VALUE = "5";
    public static final String NULLVALUE_VALUE = "0";

    public static final billstatus addnew = new billstatus("addnew", ADDNEW_VALUE);
    public static final billstatus save = new billstatus("save", SAVE_VALUE);
    public static final billstatus submit = new billstatus("submit", SUBMIT_VALUE);
    public static final billstatus audit = new billstatus("audit", AUDIT_VALUE);
    public static final billstatus closed = new billstatus("closed", CLOSED_VALUE);
    public static final billstatus nullvalue = new billstatus("nullvalue", NULLVALUE_VALUE);

    /**
     * construct function
     * @param String billstatus
     */
    private billstatus(String name, String billstatus)
    {
        super(name, billstatus);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static billstatus getEnum(String billstatus)
    {
        return (billstatus)getEnum(billstatus.class, billstatus);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(billstatus.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(billstatus.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(billstatus.class);
    }
}